<?php
// +----------------------------------------------------------------------
// | ThinkCMF [ WE CAN DO IT MORE SIMPLE ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2018 http://www.thinkcmf.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: 老猫 <thinkcmf@126.com>
// +----------------------------------------------------------------------
return [
    'weixinlogin'    => [
        "type"        => 2,//钩子类型(默认为应用钩子;2:应用钩子;3:模板钩子;4:后台模板钩子)
        "name"        => '微信登录', // 钩子名称
        "description" => "微信登录", //钩子描述
        "once"        => 1 // 是否只执行一次
    ],
    'wechatpay'    => [
        "type"        => 2,//钩子类型(默认为应用钩子;2:应用钩子;3:模板钩子;4:后台模板钩子)
        "name"        => '微信支付', // 钩子名称
        "description" => "微信支付", //钩子描述
        "once"        => 1 // 是否只执行一次
    ],
  'wechatnotify'    => [
        "type"        => 2,//钩子类型(默认为应用钩子;2:应用钩子;3:模板钩子;4:后台模板钩子)
        "name"        => '微信支付回调', // 钩子名称
        "description" => "微信支付回调", //钩子描述
        "once"        => 1 // 是否只执行一次
    ],
   'weixinshare'    => [
        "type"        => 2,//钩子类型(默认为应用钩子;2:应用钩子;3:模板钩子;4:后台模板钩子)
        "name"        => '微信分享', // 钩子名称
        "description" => "微信分享", //钩子描述
        "once"        => 1 // 是否只执行一次
    ]
];